package cn.gson.crm.model.service;

import cn.gson.crm.model.mapper.LinkmanMapper;
import cn.gson.crm.model.pojos.Shuliang;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class LinkmanService {
    @Autowired
    LinkmanMapper linkmanMapper;


    //统计联系人
    public List<Shuliang> selectlinkman(){
        return linkmanMapper.selectlinkman();
    };
}
